﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ShoppingCart
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string goodStr = "";

            foreach (string item in (List<string>)Session["goods"])
            {
                goodStr += item + "  ";
            }
            Response.Write("购物车： " + goodStr);
        }
    }
}